package com.xjh.mange.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author 徐佳辉
 * @date 2020/12/20 15:18
 */
@Data
public class Password {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;
    /**
     * 账户名称
     */
    private String name;

    private String countName;
    /**
     * 密码
     */
    private String password;

    /**
     * 删除状态0删除1未删除
     */
    private Integer del;

    /**
     * 简介
     */
    private String state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
